<?php
return array(
	'rules' => array(
		array('nickname','required'),
		PregRules::phoneRules('mobile'),
		array('email','email'),
	),
	'behaviors' => array(
		'autoCreate' => array(
			'class' => 'lib.behaviors.auto.CCreateTime',
		),
	),
	'attributeLabels'=>array(
		'id' => 'ID',
		'mobile'=>'手机',
		'email'=>'邮箱',
	),
	'_import' => array(
		array('*', 'models.ActiveRecord//*'),
	),
);
?>